package com.lvmama.rhino.service.comment;

import com.alibaba.fastjson.JSONArray;
import com.github.pagehelper.PageInfo;
import com.lvmama.rhino.pojo.comment.entity.vo.FavorRatePredictResultVO;
import com.lvmama.rhino.pojo.comment.entity.vo.ProPredictCalcResultVO;
import com.lvmama.rhino.pojo.comment.request.PredictFavorRateRequest;
import com.lvmama.rhino.pojo.comment.request.PredictSalesNumRequest;

/**
 * 产品预测
 */
public interface PredictService {

    PageInfo<ProPredictCalcResultVO> getPredictSalesNum(PredictSalesNumRequest request) throws Exception;

    PageInfo<FavorRatePredictResultVO> getPredictFavorRate(PredictFavorRateRequest request) throws Exception;

    JSONArray getPredictSalesNumChart(PredictSalesNumRequest request) throws Exception;

    JSONArray getPredictFavorRateChart(PredictFavorRateRequest request) throws Exception;
}
